gtk4.git
10 years agonotebook: Drop unneeded code
Matthias Clasen [Sat, 24 Oct 2015 14:32:35 +0000 (10:32 -0400)]
notebook: Drop unneeded code

We no longer need to set the position classes on the main css node,
since they are already set on the per-tab subnodes.

10 years agoHighContrast: Update notebook styling
Matthias Clasen [Sat, 24 Oct 2015 14:20:27 +0000 (10:20 -0400)]
HighContrast: Update notebook styling

The switch from .notebook to notebook requires minor changes,
such as moving the style properties into a separate selector.

10 years agoAdwaita: Update notebook styling
Matthias Clasen [Sat, 24 Oct 2015 14:17:31 +0000 (10:17 -0400)]
Adwaita: Update notebook styling

The switch from .notebook to notebook requires minor changes,
such as moving the style properties into a separate selector.

10 years agonotebook: Use the element name notebook
Matthias Clasen [Sat, 24 Oct 2015 14:10:33 +0000 (10:10 -0400)]
notebook: Use the element name notebook

Switch GtkNotebook from using the .notebook style class to
using the element name notebook for its main css node.

10 years agonotebook: Cosmetic cleanup
Matthias Clasen [Sat, 24 Oct 2015 14:11:17 +0000 (10:11 -0400)]
notebook: Cosmetic cleanup

10 years agoentry: Add css node documentation
Matthias Clasen [Fri, 23 Oct 2015 20:22:25 +0000 (16:22 -0400)]
entry: Add css node documentation

List the css names and the typical style classes that can be
expected to occur with entries.

10 years agoHighContrast: Update entry progress rendering
Matthias Clasen [Fri, 23 Oct 2015 20:16:55 +0000 (16:16 -0400)]
HighContrast: Update entry progress rendering

Adapt HighContrast to the changes in the pre-previous commit.

10 years agoAdwaita: Update entry progress rendering
Matthias Clasen [Fri, 23 Oct 2015 20:13:43 +0000 (16:13 -0400)]
Adwaita: Update entry progress rendering

Adapt Adwaita to the changes in the previous commit.

10 years agoentry: Use a permanent css node for progress
Matthias Clasen [Fri, 23 Oct 2015 20:11:08 +0000 (16:11 -0400)]
entry: Use a permanent css node for progress

Create a css node with name progressbar when we start showing progress
in the entry. The node gets the style class .pulse added when we
do pulse mode.

10 years agoAdwaita: Update for entry icon changes
Matthias Clasen [Fri, 23 Oct 2015 19:41:05 +0000 (15:41 -0400)]
Adwaita: Update for entry icon changes

10 years agoentry: Use css nodes for icons
Matthias Clasen [Fri, 23 Oct 2015 19:39:29 +0000 (15:39 -0400)]
entry: Use css nodes for icons

Create css nodes for icons in entries, with name image, and use
gtk_style_context_save_to_node() for them. We still set the
style classes .left and .right on them.

10 years agoHighContrast: Update entry styling
Matthias Clasen [Fri, 23 Oct 2015 18:53:06 +0000 (14:53 -0400)]
HighContrast: Update entry styling

Use the new element name instead of the style class.

10 years agoAdwaita: Update entry styling
Matthias Clasen [Fri, 23 Oct 2015 18:52:27 +0000 (14:52 -0400)]
Adwaita: Update entry styling

Use the new element name instead of the style class.
There is some minor fallout for vertical spin buttons that
will need a second look.

10 years agoentry: Use the element name entry
Matthias Clasen [Fri, 23 Oct 2015 18:51:35 +0000 (14:51 -0400)]
entry: Use the element name entry

Set the element name on the css node and drop the .entry class.

10 years agoAdwaita: fix switch styling
Lapo Calamandrei [Fri, 23 Oct 2015 15:12:01 +0000 (17:12 +0200)]
Adwaita: fix switch styling

looks like switch stare are not passed to the slider anymore so
rewrite selectors accordingly.

10 years agoAdwaita: generalize .has-open-popup
Lapo Calamandrei [Fri, 23 Oct 2015 14:58:17 +0000 (16:58 +0200)]
Adwaita: generalize .has-open-popup

so it works for any list-row istead of just the ones in a sidebar.

10 years agoshortcut: Improve formatting of ranges
Matthias Clasen [Fri, 23 Oct 2015 11:46:31 +0000 (07:46 -0400)]
shortcut: Improve formatting of ranges

Use a centered ellipsis, to make it look nicer.

10 years agoHighContrast: Update image styling
Matthias Clasen [Fri, 23 Oct 2015 04:05:46 +0000 (00:05 -0400)]
HighContrast: Update image styling

Use the new element name instead of the type name.

10 years agoAdwaita: Update image styling
Matthias Clasen [Fri, 23 Oct 2015 04:05:18 +0000 (00:05 -0400)]
Adwaita: Update image styling

Use the new element name instead of the type name.

10 years agoimage: Use the element name image
Matthias Clasen [Fri, 23 Oct 2015 04:04:47 +0000 (00:04 -0400)]
image: Use the element name image

Set hte element name on the CSS node.

10 years agoHighContrast: Update label styling
Matthias Clasen [Fri, 23 Oct 2015 03:26:53 +0000 (23:26 -0400)]
HighContrast: Update label styling

Use the new element name instead of the style class.

10 years agoAdwaita: Update label styling
Matthias Clasen [Fri, 23 Oct 2015 03:25:42 +0000 (23:25 -0400)]
Adwaita: Update label styling

Use the new element name instead of the style class.

10 years agolabel: Use the element name label
Matthias Clasen [Fri, 23 Oct 2015 03:18:30 +0000 (23:18 -0400)]
label: Use the element name label

Set the element name on the CSS node, and drop the .label style
class.

10 years agoswitch: Document css names a bit
Matthias Clasen [Fri, 23 Oct 2015 03:07:54 +0000 (23:07 -0400)]
switch: Document css names a bit

This is still provisional. Better gtk-doc support will be needed
to do better here.

10 years agoMSVC release builds: Ensure that /LTCG is used
Chun-wei Fan [Fri, 23 Oct 2015 02:33:41 +0000 (10:33 +0800)]
MSVC release builds: Ensure that /LTCG is used

MSVC 2015 changed its default link-time code generation setting to
/LTCG:incremental, which causes problems if /opt:noref is to be used,
meaning that some code will be optimized out by the linker.

Avoid this situtation here by enforcing the use of /LTCG for MSVC 2010+
builds.

10 years agoHighContrast: Update switch styling
Matthias Clasen [Fri, 23 Oct 2015 01:44:03 +0000 (21:44 -0400)]
HighContrast: Update switch styling

Use the new element names instead of the type name and style
classes, just like we did for Adwaita in the previous commit.

10 years agoAdwaita: Update switch styling
Matthias Clasen [Fri, 23 Oct 2015 01:42:20 +0000 (21:42 -0400)]
Adwaita: Update switch styling

Use the new element names instead of the type name and style
classes.

Note that there is one problem with moving away from type names
here: it turns out that style properties only work if the selector
uses the type name.

10 years agoswitch: Convert to element names
Matthias Clasen [Fri, 23 Oct 2015 01:40:31 +0000 (21:40 -0400)]
switch: Convert to element names

Use the element names switch and slider for the two css nodes,
and drop the .trough and .slider classes.

10 years agowidget: Always set the type on css nodes
Matthias Clasen [Fri, 23 Oct 2015 01:00:12 +0000 (21:00 -0400)]
widget: Always set the type on css nodes

See the previous commit for why this is necessary.

Also make gtk_widget_class_set_css_name work by looking at
the correct class for the name.

Note for future reference: GTK_WIDGET_GET_CLASS() does not
work in the instance init function.

10 years agocss node declaration: Allow both name and type to be set
Matthias Clasen [Fri, 23 Oct 2015 00:58:52 +0000 (20:58 -0400)]
css node declaration: Allow both name and type to be set

The widget path machinery assumes that we always have types,
and without this change, it will start spewing warnings when
we start to introduce node names.

10 years agoinspector: Show names for css nodes
Matthias Clasen [Fri, 23 Oct 2015 00:58:08 +0000 (20:58 -0400)]
inspector: Show names for css nodes

Currently, we don't have any css nodes with names, but we will soon.

10 years agoAdd since tags to new api
Matthias Clasen [Thu, 22 Oct 2015 23:27:13 +0000 (19:27 -0400)]
Add since tags to new api

gtk_widget_class_set/get_css_name were missing it.

10 years agoGtkApplicationWindow: Add missing annotations
Timm Bäder [Thu, 22 Oct 2015 17:31:36 +0000 (19:31 +0200)]
GtkApplicationWindow: Add missing annotations

10 years agogtk-demo: Add a range example to the shortcuts demo
Matthias Clasen [Thu, 22 Oct 2015 18:32:08 +0000 (14:32 -0400)]
gtk-demo: Add a range example to the shortcuts demo

This shows off the new range display capability that I just added.

10 years agoshortcuts: Support ranges in the display of shortcuts
Matthias Clasen [Thu, 22 Oct 2015 18:31:06 +0000 (14:31 -0400)]
shortcuts: Support ranges in the display of shortcuts

Repeating Alt-1 to Alt-9 as individual shortcuts looks really boring,
so allow compressing such ranges by specifying <Alt>1...9.

10 years agonotebook: On drag window hide, fix css nodes
Benjamin Otte [Thu, 22 Oct 2015 18:29:10 +0000 (20:29 +0200)]
notebook: On drag window hide, fix css nodes

10 years agoswitch: Use the right state when querying padding
Benjamin Otte [Thu, 22 Oct 2015 16:42:56 +0000 (18:42 +0200)]
switch: Use the right state when querying padding

We were using the state of the widget node, not the state of the slider
node.

This caused layout loops due to invalidations.

10 years agowin32: Fix introspection syntax
Matthias Clasen [Thu, 22 Oct 2015 15:50:49 +0000 (11:50 -0400)]
win32: Fix introspection syntax

10 years agotestgtk/Alpha Window: fix the drawn area when we are drawing decorations
Owen W. Taylor [Tue, 20 Oct 2015 20:45:52 +0000 (16:45 -0400)]
testgtk/Alpha Window: fix the drawn area when we are drawing decorations

A GtkWindow's allocation includes the titlebar, borders, and shadows; we
only want to draw our custom alpha content over the child allocation of
the GtkWindow.

https://bugzilla.gnome.org/show_bug.cgi?id=756886

10 years agoGtkWindow: draw the frame and shadow even for app-paintable windows
Owen W. Taylor [Tue, 20 Oct 2015 20:43:06 +0000 (16:43 -0400)]
GtkWindow: draw the frame and shadow even for app-paintable windows

If a window is decorated, we need to draw the frame and shadow, even if
it is app-paintable - it's just nonsense to have a frame that we handle
events on, but expect the app to paint it. (We paint the titlebar in
any case.) If a client wants to handle all painting, it should use an
undecorated window.

https://bugzilla.gnome.org/show_bug.cgi?id=756886

10 years agoGuard against selection requestor disappearing
Owen W. Taylor [Tue, 20 Oct 2015 16:39:57 +0000 (12:39 -0400)]
Guard against selection requestor disappearing

We made a number of unchecked accesses to the selection requestor,
which could cause X errors if the selection requestor vanished
(or we were sent invalid events). Add error traps around all of them.

See https://bugzilla.redhat.com/show_bug.cgi?id=1210814 for an
example of a crash that could be caused by this. (There are about
1000 instances of such a crash in http://retrace.fedoraproject.org
though no linked bug reports specifically talk about cut-and-paste
or DND.)

https://bugzilla.gnome.org/show_bug.cgi?id=756881

10 years agoiconcache: Remove unused function
Benjamin Otte [Wed, 14 Oct 2015 17:19:36 +0000 (19:19 +0200)]
iconcache: Remove unused function

10 years agowindow: Name the decoration style
Benjamin Otte [Mon, 7 Sep 2015 19:42:25 +0000 (21:42 +0200)]
window: Name the decoration style

10 years agowindow: Add gtk_widget_class_set_css_name()
Benjamin Otte [Mon, 7 Sep 2015 19:37:07 +0000 (21:37 +0200)]
window: Add gtk_widget_class_set_css_name()

This is to replace using class names as CSS names.

10 years agowindow: Refactor function
Benjamin Otte [Mon, 7 Sep 2015 19:31:57 +0000 (21:31 +0200)]
window: Refactor function

Move gtk_style_context_save() into the function that sets up the
decoration rendering.

10 years agonotebook: Remove "prelight-page" class
Benjamin Otte [Mon, 7 Sep 2015 10:30:44 +0000 (12:30 +0200)]
notebook: Remove "prelight-page" class

Instead, just use the "tab:hover" selector

10 years agonotebook: Remove "active-page" class
Benjamin Otte [Mon, 7 Sep 2015 10:26:33 +0000 (12:26 +0200)]
notebook: Remove "active-page" class

Instead, just use the "tab:active" selector

10 years agonotebook: Remove funciton by folding it into callers
Benjamin Otte [Mon, 7 Sep 2015 10:20:54 +0000 (12:20 +0200)]
notebook: Remove funciton by folding it into callers

10 years agonotebook: Refactor internal function
Benjamin Otte [Mon, 7 Sep 2015 10:11:09 +0000 (12:11 +0200)]
notebook: Refactor internal function

Don't return the state anymore as the function doesn't even look at the
state. Instead, make the callers that need the state query it manually.

10 years agonotebook: Make tab positions permanent
Benjamin Otte [Mon, 7 Sep 2015 10:08:45 +0000 (12:08 +0200)]
notebook: Make tab positions permanent

... on the tab CssNodes.

10 years agonotebook: Remove last traces of regions
Benjamin Otte [Mon, 7 Sep 2015 09:56:03 +0000 (11:56 +0200)]
notebook: Remove last traces of regions

Now that we don't use regions anymore, there's no need to update
anything when the regions change.

10 years agonotebook: Set reorderable-page style class properly
Benjamin Otte [Mon, 7 Sep 2015 09:52:55 +0000 (11:52 +0200)]
notebook: Set reorderable-page style class properly

Set it when the reorderable state changes, not just when rendering.

10 years agonotebook: Set active state properly
Benjamin Otte [Mon, 7 Sep 2015 09:39:55 +0000 (11:39 +0200)]
notebook: Set active state properly

Don't update it on save/restore, actually set it when it changes.

10 years agonotebook: Set prelight state properly
Benjamin Otte [Mon, 7 Sep 2015 00:15:25 +0000 (02:15 +0200)]
notebook: Set prelight state properly

Don't update it on save/restore, actually set it when it changes.

10 years agonotebook: Use CssNodes instead of regions
Benjamin Otte [Sun, 6 Sep 2015 23:44:53 +0000 (01:44 +0200)]
notebook: Use CssNodes instead of regions

This almost makes CSS work again with notebooks.

10 years agonotebook: Move style_context_save() into function
Benjamin Otte [Sun, 6 Sep 2015 23:26:19 +0000 (01:26 +0200)]
notebook: Move style_context_save() into function

This is for future changes.

10 years agocss: Remove macros that were used only with regions
Benjamin Otte [Tue, 8 Sep 2015 17:31:59 +0000 (19:31 +0200)]
css: Remove macros that were used only with regions

10 years agocssmatcher: Remove matching API for regions
Benjamin Otte [Tue, 8 Sep 2015 17:31:37 +0000 (19:31 +0200)]
cssmatcher: Remove matching API for regions

10 years agotreeview: Use a cssnode instead of regions
Benjamin Otte [Sun, 6 Sep 2015 05:36:57 +0000 (07:36 +0200)]
treeview: Use a cssnode instead of regions

This makes Treeview headers work again like before region support was
removed.

10 years agoAPI: cssselector: Stop supporting regions
Benjamin Otte [Sun, 6 Sep 2015 05:36:02 +0000 (07:36 +0200)]
API: cssselector: Stop supporting regions

The namespace that belonged to regions is supposed to be used for
CssNode names.

10 years agotreeviewcolumn: Create button on init
Benjamin Otte [Sat, 5 Sep 2015 23:46:24 +0000 (01:46 +0200)]
treeviewcolumn: Create button on init

This way, the button is always available and the code doesn't have to
special case this condition.

10 years agoswitch: Port to GtkCssNode
Benjamin Otte [Mon, 16 Feb 2015 22:05:05 +0000 (23:05 +0100)]
switch: Port to GtkCssNode

This is a simple port, no code modifications so far other than replacing
gtk_style_context_save() with gtk_style_context_save_to_node().

10 years agostylecontext: Add gtk_style_context_save_to_node()
Benjamin Otte [Mon, 16 Feb 2015 15:37:33 +0000 (16:37 +0100)]
stylecontext: Add gtk_style_context_save_to_node()

To be used instead of gtk_style_context_save() with persistent nodes.

10 years agostylecontext: Add gtk_style_context_add_named()
Benjamin Otte [Sat, 5 Sep 2015 04:58:17 +0000 (06:58 +0200)]
stylecontext: Add gtk_style_context_add_named()

This is an intermediate step for cssnode introduction. It gives a name
for the node created by saving the style context.

10 years agocssmatcher: Marshal name to matcher
Benjamin Otte [Sat, 5 Sep 2015 04:39:10 +0000 (06:39 +0200)]
cssmatcher: Marshal name to matcher

... and use it in the node matcher.

Also rename function from _gtk_css_matcher_get_type() to
_gtk_css_matcher_get_name().

10 years agocssnode: Add setters/getters for name
Benjamin Otte [Sat, 5 Sep 2015 04:31:32 +0000 (06:31 +0200)]
cssnode: Add setters/getters for name

10 years agocssnodedeclaration: Add possibility to set the name
Benjamin Otte [Fri, 4 Sep 2015 17:38:50 +0000 (19:38 +0200)]
cssnodedeclaration: Add possibility to set the name

This is supposed to be a replacement for setting the type. So far, both
options are possible - either will unset the other.

10 years agotreeview: Remove "row" and "col" regions
Benjamin Otte [Sat, 5 Sep 2015 19:44:13 +0000 (21:44 +0200)]
treeview: Remove "row" and "col" regions

They aren't used by the theme and we want to get rid of regions.

10 years agoUpdated POTFILES.in and POTFILES.skip
Piotr Drąg [Thu, 22 Oct 2015 00:01:05 +0000 (02:01 +0200)]
Updated POTFILES.in and POTFILES.skip

10 years agoUpdate NEWS to mention help overlays
Matthias Clasen [Wed, 21 Oct 2015 21:15:17 +0000 (17:15 -0400)]
Update NEWS to mention help overlays

10 years agoUpdate POTFILES.in
Matthias Clasen [Wed, 21 Oct 2015 19:48:20 +0000 (15:48 -0400)]
Update POTFILES.in

10 years agowidget-factory: Add an automatic help overlay
Matthias Clasen [Wed, 21 Oct 2015 04:14:38 +0000 (00:14 -0400)]
widget-factory: Add an automatic help overlay

This commit add some more keyboard shortcuts to gtk3-widget-factory,
and adds a help overlay documenting them. This examle uses the
automatic resource loading support in GtkApplication.

10 years agoAdd automatic help overlay support to GtkApplication
Matthias Clasen [Wed, 21 Oct 2015 04:11:59 +0000 (00:11 -0400)]
Add automatic help overlay support to GtkApplication

When the $(resource_prefix)/gtk/help-overlay.ui resource exists,
load a GtkShortcutsWindow from it for each GtkApplicationWindow,
and set up a win.show-help-overlay action with accels <Primary>F1
and <Primary>? to show it.

10 years agogtk-demo: Add a GtkShortcutsWindow demo
Matthias Clasen [Sun, 11 Oct 2015 20:48:08 +0000 (16:48 -0400)]
gtk-demo: Add a GtkShortcutsWindow demo

This example implements the mockups from the help overlay design,
showing off the various features of GtkShortcutsWindow.

10 years agoAdd some styling for GtkShortcutsWindow
Matthias Clasen [Sun, 11 Oct 2015 20:40:48 +0000 (16:40 -0400)]
Add some styling for GtkShortcutsWindow

Add some keycap frame around keysyms, and make the stack switcher
buttons rounds. This is very provisional.

10 years agoAdd GtkShortcutsWindow
Matthias Clasen [Sun, 11 Oct 2015 20:39:18 +0000 (16:39 -0400)]
Add GtkShortcutsWindow

This is a toplevel window that is tailored towards showing
help for shortcuts in an application. The implementation closely
follows this design: https://wiki.gnome.org/Design/OS/HelpOverlay

This implementation is inspired by earlier work in gnome-builder,
thanks to Christian Hergert.

https://bugzilla.gnome.org/show_bug.cgi?id=756428

10 years agobuilder: Support creating GFile objects
Matthias Clasen [Sun, 11 Oct 2015 22:54:27 +0000 (18:54 -0400)]
builder: Support creating GFile objects

This is useful, e.g. when creating GFileIcon objects.

10 years agoDon't use g_slist_next in the testsuite
Matthias Clasen [Tue, 20 Oct 2015 00:42:52 +0000 (20:42 -0400)]
Don't use g_slist_next in the testsuite

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktreeview.c
Matthias Clasen [Tue, 20 Oct 2015 00:42:12 +0000 (20:42 -0400)]
Don't use g_slist_next in gtktreeview.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktreemodel.c
Matthias Clasen [Tue, 20 Oct 2015 00:41:29 +0000 (20:41 -0400)]
Don't use g_slist_next in gtktreemodel.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextview.c
Matthias Clasen [Tue, 20 Oct 2015 00:40:49 +0000 (20:40 -0400)]
Don't use g_slist_next in gtktextview.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextlayout.c
Matthias Clasen [Tue, 20 Oct 2015 00:40:15 +0000 (20:40 -0400)]
Don't use g_slist_next in gtktextlayout.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextdisplay.c
Matthias Clasen [Tue, 20 Oct 2015 00:39:34 +0000 (20:39 -0400)]
Don't use g_slist_next in gtktextdisplay.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextchild.c
Matthias Clasen [Tue, 20 Oct 2015 00:38:38 +0000 (20:38 -0400)]
Don't use g_slist_next in gtktextchild.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextbufferrichtext.c
Matthias Clasen [Tue, 20 Oct 2015 00:36:27 +0000 (20:36 -0400)]
Don't use g_slist_next in gtktextbufferrichtext.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextbuffer.c
Matthias Clasen [Tue, 20 Oct 2015 00:36:02 +0000 (20:36 -0400)]
Don't use g_slist_next in gtktextbuffer.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtkstock.c
Matthias Clasen [Tue, 20 Oct 2015 00:34:58 +0000 (20:34 -0400)]
Don't use g_slist_next in gtkstock.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtkiconfactory.c
Matthias Clasen [Tue, 20 Oct 2015 00:33:50 +0000 (20:33 -0400)]
Don't use g_slist_next in gtkiconfactory.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in the x11 backend
Matthias Clasen [Tue, 20 Oct 2015 00:31:57 +0000 (20:31 -0400)]
Don't use g_slist_next in the x11 backend

We generally use ->next directly.

10 years agoDon't use g_slist_next in the windows backend
Matthias Clasen [Tue, 20 Oct 2015 00:30:33 +0000 (20:30 -0400)]
Don't use g_slist_next in the windows backend

We generally use ->next directly.

10 years agoDon't use g_slist_next in gdk
Matthias Clasen [Tue, 20 Oct 2015 00:28:06 +0000 (20:28 -0400)]
Don't use g_slist_next in gdk

We generally just use ->next directly.

10 years agoDon't use g_list_next in gtk3-demo
Matthias Clasen [Tue, 20 Oct 2015 00:20:34 +0000 (20:20 -0400)]
Don't use g_list_next in gtk3-demo

We generally just use ->next directly.

10 years agoDon't use g_list_next in gtkselection.c
Matthias Clasen [Mon, 19 Oct 2015 23:18:06 +0000 (19:18 -0400)]
Don't use g_list_next in gtkselection.c

We generally access ->next directly.

10 years agoDon't use g_list_next in gtkmain.c
Matthias Clasen [Mon, 19 Oct 2015 23:15:30 +0000 (19:15 -0400)]
Don't use g_list_next in gtkmain.c

We generally access ->next directly.

10 years agoDon't use g_list_next in gtkdialog.c
Matthias Clasen [Mon, 19 Oct 2015 23:14:52 +0000 (19:14 -0400)]
Don't use g_list_next in gtkdialog.c

We generall access ->next directly.

10 years agoDon't use g_list_next in gtkcontainer.c
Matthias Clasen [Mon, 19 Oct 2015 23:13:35 +0000 (19:13 -0400)]
Don't use g_list_next in gtkcontainer.c

We generally access ->next directory.

10 years agoDon't use g_slist_next in gtktextbtree.c
Matthias Clasen [Mon, 19 Oct 2015 23:10:42 +0000 (19:10 -0400)]
Don't use g_slist_next in gtktextbtree.c

We generally access ->next directly.

10 years agobuilder: Don't use g_slist_next
Matthias Clasen [Mon, 19 Oct 2015 22:33:10 +0000 (18:33 -0400)]
builder: Don't use g_slist_next

We just use direct access to list->next all over the place.

10 years agobuilder: Cosmetic changes
Matthias Clasen [Mon, 19 Oct 2015 18:58:35 +0000 (14:58 -0400)]
builder: Cosmetic changes

Use an iter instead of g_hash_table_forall.

10 years agoCosmetic changes
Matthias Clasen [Mon, 19 Oct 2015 18:38:30 +0000 (14:38 -0400)]
Cosmetic changes

Line up struct-filling code with the order in the declaration.